package main

import (
	"gofirst/ch10struct/structtag"
)

func main() {
	//type的5种用法
	//typelearn.LearnType()

	//结构体
	//structlearn.LearnStruct()
	//
	//var c structlearn.Course = structlearn.Course{
	//	//所有的属性都是小写的，因此这里访问不了
	//}
	//fmt.Printf("%T\n", c)

	//结构体方法
	//structlearn.StructMethod()

	//结构体组合
	//composelearn.ComposeLearn()
	//composelearn.AnonyComposeLearn() //匿名组合

	//结构体标签
	structtag.StructTagLearn()
}
